package com.patterns.java.decorator;

/**
 * 显示装饰类
 *
 * @author 三多
 * @Time 2021/10/12
 */
public abstract class ViewDecorator implements View {
    protected View viewDecorator;

    public ViewDecorator(View viewDecorator) {
        this.viewDecorator = viewDecorator;
    }

    @Override
    public void show() {
            viewDecorator.show();
    }
}
